package com.chenhs.oop.study.泛型;

/**
 * <ul>peanut 学习 通配符和上下限定
 * <li> Author:      chenhs</li>
 * <li>E-Mail:    651617663@qq.com</li>
 * <li> Date:     2021/6/5 - 10:51</li>
 * <li>Description:        注释  </li>
 * <li>+-History-------------------------------------+</li>
 * <li>| Date          Author       Description    </li>
 * <li>|2021/6/5 - 10:51         chenhs       Created   </li>
 * <li>+------------------------------------------------</li>
 * </ul>
 */
public class Matching {
	//通配符
 public void 	showInfor(chenhs.oop.study.泛型.Generic<?> group){
	 group.show();
 }
	//指定下限
	public void 	showInfor1(chenhs.oop.study.泛型.Generic<? extends  Number> group){
		group.show();
	}
	//指定上限
	public void 	showInfor2(chenhs.oop.study.泛型.Generic<? super Integer> group){
		group.show();
	}
}
